﻿/// <summary>
/// Baidu AI face stat.
/// This is for getting data from a json data retrieved from web baidu ai.
/// Original data is json and we turn it into a class.
/// one of the json demo  is  on  material folder with the name , FaceStatDemo.txt
/// </summary>

using UnityEngine;
using System.Collections;

public class BaiduAIFaceStat
{
	public BaiduAIFaceStat(){}
	public  int result_num;
	public _Result[] result;
}


public class _Result
{
	public _Result(){}
	public _Location location;
	public _Landmark[] landmark;
	public _Landmark[] landmark72;
	public string gender;
}



public class _Location
{
	public	_Location(){}
	public int left;
	public int top;
	public int width;
	public int height;
}

public class _Landmark
{
	public _Landmark(){}
	public int x;
	public int y;
}